#pragma once

#include "esp_io_expander.h"

#ifdef __cplusplus
extern "C" {
#endif

void sd_init(esp_io_expander_handle_t io_expander);

esp_err_t s_write_file(const char *path, char *data);
esp_err_t s_read_file(const char *path);

#ifdef __cplusplus
}
#endif
